package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName("topic_goods")
@ApiModel(value = "TopicGoods对象", description = "专题商品表")
public class TopicGoods implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品编号")
    private String goodsNo;

    @ApiModelProperty("专题id")
    private Integer topicId;

    @ApiModelProperty("秒杀(?)价格     (专题里面的秒杀, 有点扯, 不想麻烦的话就不要这个功能, 且专题优惠商品不限量)")
    private BigDecimal price;

    @ApiModelProperty("秒杀(?)数量")
    private Integer num;

    @ApiModelProperty("排序")
    private Integer index;
}
